
if (typeof dwr == 'undefined') 
    dwr = {};

(function(){
    if (!dwr.i18n) {
        dwr.i18n = {};
    }
    if (App.lang === "zh_CN") {
        dwr.i18n = {
            error: {
                incompleteReplyFromServer: "来自服务端不完整的回复",
				causes:"导致原因",
				dwrServiceIntercept: "DWR service 被拦截,无法访问",
                dwrServiceException: "DWR service 出现异常,无法完成响应",
                sessionTimeout: "会话超时",
				loginAgain:"是否重新登录?"
            }
        }
    }
    else {
        dwr.i18n = {
            error: {
                incompleteReplyFromServer: "Incomplete Reply From Server",
                causes:"Causes",
				dwrServiceIntercept: "DWR service Intercept,Can't call",
                dwrServiceException: "dwr service Exception,Incomplete Reply",
                sessionTimeout: "Session Timeout",
				loginAgain:"Login angin?"
            }
        }
    }
})();
